package com.diandian.backend.client.dto;

import com.diandian.base.boot.starter.exception.DefaultException;
import java.io.Serializable;

public class ClientPermissionPageParamDTO implements Serializable {

	private Integer pageNum;
	private Integer pageSize;
	private String permissionGroupEql;
	private String permissionGroupLike;
	private String permissionKeyEql;
	private String permissionKeyLike;
	private String permissionNameEql;
	private String permissionNameLike;
	private String remarkEql;
	private String remarkLike;
	private Integer del;

	public void check(){
		if(this.pageNum == null || this.pageNum < 1 || this.pageSize == null || this.pageSize < 1){
			throw new DefaultException("分页参数不合法");
		}
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public String getPermissionGroupEql() {
		return permissionGroupEql;
	}
	public void setPermissionGroupEql(String permissionGroupEql) {
		this.permissionGroupEql = permissionGroupEql;
	}
	public String getPermissionGroupLike() {
		return permissionGroupLike;
	}
	public void setPermissionGroupLike(String permissionGroupLike) {
		this.permissionGroupLike = permissionGroupLike;
	}
	public String getPermissionKeyEql() {
		return permissionKeyEql;
	}
	public void setPermissionKeyEql(String permissionKeyEql) {
		this.permissionKeyEql = permissionKeyEql;
	}
	public String getPermissionKeyLike() {
		return permissionKeyLike;
	}
	public void setPermissionKeyLike(String permissionKeyLike) {
		this.permissionKeyLike = permissionKeyLike;
	}
	public String getPermissionNameEql() {
		return permissionNameEql;
	}
	public void setPermissionNameEql(String permissionNameEql) {
		this.permissionNameEql = permissionNameEql;
	}
	public String getPermissionNameLike() {
		return permissionNameLike;
	}
	public void setPermissionNameLike(String permissionNameLike) {
		this.permissionNameLike = permissionNameLike;
	}
	public String getRemarkEql() {
		return remarkEql;
	}
	public void setRemarkEql(String remarkEql) {
		this.remarkEql = remarkEql;
	}
	public String getRemarkLike() {
		return remarkLike;
	}
	public void setRemarkLike(String remarkLike) {
		this.remarkLike = remarkLike;
	}
	public Integer getDel() {
		return del;
	}
	public void setDel(Integer del) {
		this.del = del;
	}
}
